package data.trade;

import java.util.ArrayList;
import businesslogic.returngoods.ReturnItem;
import data.ListInterIterator;
import data.goods.Goods;

@SuppressWarnings("serial")
public class ReturnInformation extends Trade{
	private String clerkID;
	private String time;
	private String saleID;
	private double totalprice;
	private ArrayList<Goods> returnGoods;
	
	public ReturnInformation(String vipID,String clerkID,String saleID,double totalprice,ListInterIterator<Goods> returnGoods){
		super(vipID,clerkID);
		this.saleID=saleID;
		this.totalprice=totalprice;
		this.returnGoods=returnGoods.toArray();	    
	}
	public String getClerkID(){
		return clerkID;
	}
	

	
	public String getSaleID(){
		return saleID;
	}
	
	public String getTime(){
		return time;
	}
	
	public double getTotalPrice(){
		return totalprice;
	}

	public ListInterIterator<Goods> getReturngoods(){
		return new ListInterIterator<Goods>(returnGoods);
	}
	
}

